<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#div1{
				width: 200px;
				height: 300px;
				background-color: #BEBEBE;
				text-align: center;
				margin: 0 auto;
			}
			
		</style>
	</head>
	<body>
		<div id="div1">
			<h2>订单支付</h2>
			<p>课程：html ,js</p>
			<p>课程：html ,js</p>
			<p>课程：html ,js</p>
			<p>课程：html ,js</p>
			<p>课程：html ,js</p>
			<a href="支付成功.html"><button type="button" id="btn">支付</button></a>
			<button type="button" id="qx" >取消</button>
		</div>
		<script type="text/javascript">
			var qx = document.getElementById("qx");
			qx.onclick = function(){
				alert("确定要取消吗？");
				alert("取消成功");
			}
		</script>
	</body>
</html>
